package jichenglei.fangwenxing;

/**
 * 
 * @author Jin Jing
 * 继承时，不能降低方法的可访问性
 *
 */
public class Child extends Father {

	//private void print() {
	public void print() {
		System.out.println("child");
	}
	public static void main(String[] args) {
		Father father = new Child();
		father.print();

	}

}
